package day0525;
public class F5{
    public static void main(String[] args){
        int month=5;
        int year=2023;

        if(month==1|| month==3||month==5 || month==7||month==8 || month==10||month==12){
            System.out.println("本月是31天");
        }else if(month==4|| month==6||month==9 || month==11 ){
            System.out.println("本月是30天");
        }else if(month==2){
            if(year%400==0 ||  (year%4==0 && year %100 != 0) ){
                System.out.println("本月是29天");
            }else{
                System.out.println("本月是28天");
            }


        }
    }
}